import request from '@/utils/request'
/**
 * 查看一体杆列表
 */
export function getRodmanageListAPI(data) {
  return request({
    url: '/pole/info/list',
    data
  })
}

/**
 * 添加一体杆
 */
export function addRodmanageListAPI(params) {
  return request({
    url: '/pole/info',
    method: 'PUT',
    params
  })
}
/**
 * 编辑一体杆
 */
export function editRodmanageListAPI(params) {
  return request({
    url: '/pole/info',
    method: 'PUT',
    params
  })
}
/**
 * 删除一体杆
 */
export function deleteRodmanageListAPI(id) {
  return request({
    url: `/pole/info/${id}`,
    method: 'DELETE',
    id
  })
}
/**
 * 获取关联区域下拉列表
 */
export function selectAPI(data) {
  return request({
    url: '/parking/area/dropList',
    data
  })
}
